<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>登录</title>
  </head>
  <body>

  <h1 style="text-align: center">登录</h1>
  <form action="${pageContext.request.contextPath}/login" method="post" style="text-align: center">
    用户名：<input type="text" name="username"><br>
    密&nbsp;&nbsp;码：<input type="text" name="password"><br>
    爱好：<br>
    <input type="checkbox" name="hobbies" value="代码">代码
    <input type="checkbox" name="hobbies" value="打球">打球
    <input type="checkbox" name="hobbies" value="听歌">听歌
    <input type="checkbox" name="hobbies" value="阅读">阅读
    <br>
    <input type="submit" value="提交">
  </form>
  </body>
</html>
